package com.example.commuity.entity

import com.example.entity.BaseEntity
data class HorizontalScrollCardEntity(
    val adIndex: Int,
    val data: HorizontalScrollCardData,
    val id: Int,
    val tag: Any,
    val trackingData: Any,
    val type: String
):BaseEntity()

data class HorizontalScrollCardData(
    val adTrack: Any,
    val count: Int,
    val dataType: String,
    val footer: Any,
    val header: Any,
    val itemList: List<SquareCard>
)

data class SquareCard(
    val adIndex: Int,
    val data: SquareCardData,
    val id: Int,
    val tag: Any,
    val trackingData: Any,
    val type: String
)

data class SquareCardData(
    val actionUrl: String,
    var bgPicture: String,
    val dataType: String,
    val subTitle: String,
    val title: String
)

data class BannerCard(
    val adIndex: Int,
    val data: BannerData,
    val id: Int,
    val tag: Any,
    val trackingData: Any,
    val type: String
)

data class BannerData(
    val actionUrl: String,
    val adTrack: List<Any>,
    val autoPlay: Boolean,
    val dataType: String,
    val description: String,
    val header: BannerHeader,
    val id: Int,
    val image: String,
    val label: BannerLabel,
    val labelList: List<Any>,
    val shade: Boolean,
    val title: String
)

data class BannerHeader(
    val actionUrl: Any,
    val cover: Any,
    val description: Any,
    val font: Any,
    val icon: Any,
    val id: Int,
    val label: Any,
    val labelList: Any,
    val rightText: Any,
    val subTitle: Any,
    val subTitleFont: Any,
    val textAlign: String,
    val title: Any
)

data class BannerLabel(
    val card: String,
    val detail: Any,
    val text: String
)